<!DOCTYPE html>

<style>
  #transform {
    background-color: blue;
    width: 300px;
    height: 300px;
    position: absolute;
  }

  #fixed {
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: green;
  }
</style>

<div id='transform'>
  <div id='fixed'></div>
</div>
